package com.hziee.inm.users.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hziee.common.utils.PageUtils;
import com.hziee.common.utils.Query;

import com.hziee.inm.users.dao.GroupUserDao;
import com.hziee.inm.users.entity.GroupUserEntity;
import com.hziee.inm.users.service.GroupUserService;


@Service("groupUserService")
public class GroupUserServiceImpl extends ServiceImpl<GroupUserDao, GroupUserEntity> implements GroupUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<GroupUserEntity> page = this.page(
                new Query<GroupUserEntity>().getPage(params),
                new QueryWrapper<GroupUserEntity>()
        );

        return new PageUtils(page);
    }

}